package com.neu.stringbuffer;

public class Student {
private String stu_no;
private String stu_name;
private String stu_phone;
//  创建一个无参的构造方法
public Student() {
	super();
}
// 创建一个有参的构造方法
public Student(String stu_no, String stu_name, String stu_phone) {
	super();
	this.stu_no = stu_no;
	this.stu_name = stu_name;
	this.stu_phone = stu_phone;
}


public String getStu_no() {
	return stu_no;
}
public void setStu_no(String stu_no) {
	this.stu_no = stu_no;
}
public String getStu_name() {
	return stu_name;
}
public void setStu_name(String stu_name) {
	this.stu_name = stu_name;
}
public String getStu_phone() {
	return stu_phone;
}
public void setStu_phone(String stu_phone) {
	this.stu_phone = stu_phone;
}


@Override
public String toString() {
	return "学生信息 [学生编号=" + stu_no + ", 学生姓名=" + stu_name + ", 学生电话=" + stu_phone + "]";
}


}
